package com.cjj.dto.resp;

import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

@Data
public class ForumPostDetailRespDTO {
    private Long postId;
    private Long userId;
    private String title;
    private String content;
    private String postType;
    private String category;
    private Integer viewCount;
    private Integer likeCount;
    private Integer commentCount;
    private Boolean isTop;
    private Boolean isEssence;
    private LocalDateTime createTime;
    
    // 扩展字段
    private Boolean hasLiked; // 当前用户是否点赞
    private String authorName; // 作者姓名
    private List<CommentVO> comments; // 评论列表
}